Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openjdk: add package #2546

Closed
wants to merge 13 commits into from
Closed

Conversation

star-hengxing
Copy link
Contributor

No description provided.

@star-hengxing
Copy link
Contributor Author

为啥运行 java -version 会失败

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Why does running java -version fail?

@waruqi
Copy link
Member

waruqi commented Oct 22, 2023

你没设置 binary kind ,默认 library package ,不会设置 bin 到 PATH

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


You did not set binary kind. The default library package will not set bin to PATH.

@star-hengxing
Copy link
Contributor Author

如果用设置为 binary,library 就会失效了,而且这里手动加 env 貌似不行

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


If set to binary, the library will be invalid, and manually adding env here does not seem to work.

@waruqi
Copy link
Member

waruqi commented Oct 23, 2023

这里手动加 env 貌似不行

不是运行起来了么

如果用设置为 binary,library 就会失效

同时要作为库,就自己加 bin path

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


It seems that adding env manually here doesn’t work.

Isn't it running?

If set to binary, the library will be invalid.

If you want to use it as a library at the same time, just add the bin path yourself.

@star-hengxing star-hengxing deleted the openjdk branch October 23, 2023 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants